﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace DetectiveCluedo
{
    public class Card
    {
        public string Name;
        public ECardType Type;
        public Color Color;

        public override string ToString()
        {
            return string.Format("{0} [{1}]", Name, Type);
        }

        public override bool Equals(object obj)
        {
            Card c = (Card)obj;
            if (c == null)
                return false;
            return this.Name.Equals(c.Name) && this.Type == c.Type;
        }
    }

    public enum ECardType
    {
        Suspect,
        Weapon,
        Room
    }
}
